package com.involveinnovation.chatserver.controller.Model;

import lombok.*;

import java.util.ArrayList;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ChatRoom {
    /** 房间号 */
    private int roomNum = 0;

    /** 房间密码 */
    private String password = "123123";

    /** 房间人数上限 */
    private int limit = 3;

    /** 聊天室人数 */
    private int onlineCount = 0;

    /** 聊天室的用户 */
    private ArrayList<String> list = new ArrayList<>();

    /** 聊天记录 */
    private ArrayList<Message2> messages = new ArrayList<Message2>();

    /** 返回类型 */
    private String type;

//    @Override
//    public String toString(){
//
//    }

}
